<template>
  <div>
    <el-image
        @click.stop=""
        v-if="isImg"
        style="width: 25px; height: 25px"
        :src="value" 
        :preview-src-list="[value]">
    </el-image>
  </div>
</template>

<script>
export default {
    props: {
        value: {
			default: ""
		},
        rowId: String,
        fieldName: String,
    },
    mounted() {
    },
    computed: {
        isImg() {
            if(this.value){
                return true
            }else{
                return false
            }
        }
    }
}
</script>

<style>

</style>